<?php 
	
include "../controller/ConectBanco.php";

class Options{
	
	public static function optPontos(){

		$query = mysql_query("SELECT * FROM ponto WHERE idUsuario=".$_SESSION["idUsuario"]) or die (mysql_error());
		while($array = mysql_fetch_array($query)){
			
			echo "<li><a href=\"#\" ><input type=\"checkbox\" 
										   class=\"checkbox\" 
					                        name=\"ckb_ponto\" 
										 onclick=\"showPositions(this)\" 
											  id=\"".$array["idDevice"]."\"
										   value=\"".$array["nomePonto"]."\">
				<label for=\"".$array["idDevice"]."\"\><span></span> ".$array["nomePonto"]." </label>
            		<img class=\"seguir\"
            									 name=\"seguir".$array["idDevice"]."\" 
												 id=\"".$array["idDevice"]."\" 
											onclick=\"setRastreado(this)\" 
												src=\"../images/flexigrid/seguir.png\"></img></a></li>";
		}
	}
	
}

	
?>